package com.qch.edu.ad;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;

/**
 * @Author qch
 * @Date 2021/8/31
 */
@SpringBootApplication
@EnableDiscoveryClient //作为eurake客户端进行注册
@MapperScan("com.qch.edu.ad.mapper")//将mybatis和springboot进行整合
public class LagouAdApplication {
    public static void main(String[] args) {
        SpringApplication.run(LagouAdApplication.class,args);
    }
}
